package com.loong.loong.hik.service;

import com.loong.loong.hik.property.request.resource.ResourceAdvanceOrglistRequest;
import com.loong.loong.hik.property.request.resource.ResourceBatchAddRequest;
import com.loong.loong.hik.property.request.resource.ResourceCardAdvanceCardlistRequest;
import com.loong.loong.hik.property.request.resource.ResourceCardBarcodeRequest;
import com.loong.loong.hik.property.request.resource.ResourceCardBatchLossRequest;
import com.loong.loong.hik.property.request.resource.ResourceCardBatchUnLossRequest;
import com.loong.loong.hik.property.request.resource.ResourceCardBindingsRequest;
import com.loong.loong.hik.property.request.resource.ResourceCardCardInfoRequest;
import com.loong.loong.hik.property.request.resource.ResourceCardCardlistRequest;
import com.loong.loong.hik.property.request.resource.ResourceCardDeletionRequest;
import com.loong.loong.hik.property.request.resource.ResourceCardTimerangeRequest;
import com.loong.loong.hik.property.request.resource.ResourceDeviceresourceResourcesRequest;
import com.loong.loong.hik.property.request.resource.ResourceFaceSingleAddRequest;
import com.loong.loong.hik.property.request.resource.ResourceFaceSingleDeleteRequest;
import com.loong.loong.hik.property.request.resource.ResourceFaceSingleUpdateRequest;
import com.loong.loong.hik.property.request.resource.ResourceGetNodesByParamsRequest;
import com.loong.loong.hik.property.request.resource.ResourceGetOrglistRequest;
import com.loong.loong.hik.property.request.resource.ResourceGetRegionByPageRequest;
import com.loong.loong.hik.property.request.resource.ResourceGetRegionIndexcodesRequest;
import com.loong.loong.hik.property.request.resource.ResourceGetRegionTimeRangeRequest;
import com.loong.loong.hik.property.request.resource.ResourceGetSubregionsRequest;
import com.loong.loong.hik.property.request.resource.ResourceIndexcodesSearchRequest;
import com.loong.loong.hik.property.request.resource.ResourceOnlineHistoryStatusRequest;
import com.loong.loong.hik.property.request.resource.ResourceOrgAddRequest;
import com.loong.loong.hik.property.request.resource.ResourceOrgDeleteRequest;
import com.loong.loong.hik.property.request.resource.ResourceOrgTimerangeRequest;
import com.loong.loong.hik.property.request.resource.ResourceOrgUpdateRequest;
import com.loong.loong.hik.property.request.resource.ResourceOrgindexCodesOrginfoRequest;
import com.loong.loong.hik.property.request.resource.ResourceParentorgIndexcodeSuborglistRequest;
import com.loong.loong.hik.property.request.resource.ResourcePersonAddRequest;
import com.loong.loong.hik.property.request.resource.ResourcePersonAdvancePersonlistRequest;
import com.loong.loong.hik.property.request.resource.ResourcePersonBatchAddRequest;
import com.loong.loong.hik.property.request.resource.ResourcePersonBatchDeleteRequest;
import com.loong.loong.hik.property.request.resource.ResourcePersonConditionPersoninfoRequest;
import com.loong.loong.hik.property.request.resource.ResourcePersonPersonlistRequest;
import com.loong.loong.hik.property.request.resource.ResourcePersonPersonlistTimerangeRequest;
import com.loong.loong.hik.property.request.resource.ResourcePersonPictureRequest;
import com.loong.loong.hik.property.request.resource.ResourcePersonSingleUpdateRequest;
import com.loong.loong.hik.property.request.resource.ResourcePersonlistRequest;
import com.loong.loong.hik.property.request.resource.ResourcePropertiesRequest;
import com.loong.loong.hik.property.request.resource.ResourceRegionUpdateRequest;
import com.loong.loong.hik.property.request.resource.ResourceResourceSubresourcesRequest;
import com.loong.loong.hik.property.request.resource.ResourceResourceTimerangeRequest;
import com.loong.loong.hik.property.request.resource.ResourceResourcesbyparamsRequest;
import com.loong.loong.hik.property.result.resource.ResourceAdvanceOrglistResult;
import com.loong.loong.hik.property.result.resource.ResourceBatchAddResult;
import com.loong.loong.hik.property.result.resource.ResourceCardAdvanceCardlistResult;
import com.loong.loong.hik.property.result.resource.ResourceCardBarcodeResult;
import com.loong.loong.hik.property.result.resource.ResourceCardBatchLossResult;
import com.loong.loong.hik.property.result.resource.ResourceCardBatchUnLossResult;
import com.loong.loong.hik.property.result.resource.ResourceCardBindingsResult;
import com.loong.loong.hik.property.result.resource.ResourceCardCardInfoResult;
import com.loong.loong.hik.property.result.resource.ResourceCardCardlistResult;
import com.loong.loong.hik.property.result.resource.ResourceCardDeletionResult;
import com.loong.loong.hik.property.result.resource.ResourceCardTimerangeResult;
import com.loong.loong.hik.property.result.resource.ResourceDeviceresourceResourcesResult;
import com.loong.loong.hik.property.result.resource.ResourceFaceSingleAddResult;
import com.loong.loong.hik.property.result.resource.ResourceFaceSingleDeleteResult;
import com.loong.loong.hik.property.result.resource.ResourceFaceSingleUpdateResult;
import com.loong.loong.hik.property.result.resource.ResourceGetNodesByParamsResult;
import com.loong.loong.hik.property.result.resource.ResourceGetOrglistResult;
import com.loong.loong.hik.property.result.resource.ResourceGetRegionByPageResult;
import com.loong.loong.hik.property.result.resource.ResourceGetRegionIndexcodesResult;
import com.loong.loong.hik.property.result.resource.ResourceGetRegionTimeRangeResult;
import com.loong.loong.hik.property.result.resource.ResourceGetRootorgResult;
import com.loong.loong.hik.property.result.resource.ResourceGetSubregionsResult;
import com.loong.loong.hik.property.result.resource.ResourceIndexcodesSearchResult;
import com.loong.loong.hik.property.result.resource.ResourceOnlineHistoryStatusResult;
import com.loong.loong.hik.property.result.resource.ResourceOrgAddResult;
import com.loong.loong.hik.property.result.resource.ResourceOrgDeleteResult;
import com.loong.loong.hik.property.result.resource.ResourceOrgTimerangeResult;
import com.loong.loong.hik.property.result.resource.ResourceOrgUpdateResult;
import com.loong.loong.hik.property.result.resource.ResourceOrgindexCodesOrginfoResult;
import com.loong.loong.hik.property.result.resource.ResourceParentorgIndexcodeSuborglistResult;
import com.loong.loong.hik.property.result.resource.ResourcePersonAddResult;
import com.loong.loong.hik.property.result.resource.ResourcePersonAdvancePersonlistResult;
import com.loong.loong.hik.property.result.resource.ResourcePersonBatchAddResult;
import com.loong.loong.hik.property.result.resource.ResourcePersonBatchDeleteResult;
import com.loong.loong.hik.property.result.resource.ResourcePersonConditionPersoninfoResult;
import com.loong.loong.hik.property.result.resource.ResourcePersonPersonlistResult;
import com.loong.loong.hik.property.result.resource.ResourcePersonPersonlistTimerangeResult;
import com.loong.loong.hik.property.result.resource.ResourcePersonPictureResult;
import com.loong.loong.hik.property.result.resource.ResourcePersonSingleUpdateResult;
import com.loong.loong.hik.property.result.resource.ResourcePersonlistResult;
import com.loong.loong.hik.property.result.resource.ResourcePropertiesResult;
import com.loong.loong.hik.property.result.resource.ResourceRegionRootResult;
import com.loong.loong.hik.property.result.resource.ResourceRegionUpdateResult;
import com.loong.loong.hik.property.result.resource.ResourceResourceSubresourcesResult;
import com.loong.loong.hik.property.result.resource.ResourceResourceTimerangeResult;
import com.loong.loong.hik.property.result.resource.ResourceResourcesbyparamsResult;
import com.loong.loong.hik.property.urls.resource.HikResourceRegionUrl;
import com.loong.loong.hik.util.HikUtil;
import javax.annotation.Resource;
import org.springframework.stereotype.Component;

/**
 * 资源目录
 *
 * @author jinyiang
 * @date 2023/3/12 14:45
 */
@Component
public class HikSourceVService {
	@Resource
	private HikUtil hikUtil;

	/**
	 * 获取根区域信息
	 */
	public ResourceRegionRootResult getRegionRoot() throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.GET_REGION_ROOT, null, ResourceRegionRootResult.class);
	}

	/**
	 * 查询区域列表v2
	 */
	public ResourceGetNodesByParamsResult getNodesByParams(ResourceGetNodesByParamsRequest resourceGetNodesByParamsRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.GET_nodesByParams, resourceGetNodesByParamsRequest, ResourceGetNodesByParamsResult.class);
	}

	/**
	 * 根据区域编号获取下一级区域列表v2
	 */
	public ResourceGetSubregionsResult getSubregions(ResourceGetSubregionsRequest resourceGetSubregionsRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.GET_SUBREGIONS, resourceGetSubregionsRequest, ResourceGetSubregionsResult.class);
	}
	/**
	 * 分页获取区域列表
	 */
	public ResourceGetRegionByPageResult getRegionByPage(ResourceGetRegionByPageRequest resourceGetRegionByPageRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.GET_REGION, resourceGetRegionByPageRequest, ResourceGetRegionByPageResult.class);
	}

	/**
	 * 根据编号获取区域详细信息
	 */
	public ResourceGetRegionIndexcodesResult getRegionIndexcodes(ResourceGetRegionIndexcodesRequest resourceGetRegionIndexcodesRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.GET_REGION_INDEXCODES, resourceGetRegionIndexcodesRequest, ResourceGetRegionIndexcodesResult.class);
	}
	/**
	 * 增量获取区域数据
	 */
	public ResourceGetRegionTimeRangeResult getRegionTimeRange(ResourceGetRegionTimeRangeRequest resourceGetRegionTimeRangeRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.GET_REGION_timeRange, resourceGetRegionTimeRangeRequest, ResourceGetRegionTimeRangeResult.class);
	}
	/**
	 * 批量添加区域
	 */
	public ResourceBatchAddResult batchAdd(ResourceBatchAddRequest resourceBatchAddRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.BATCH_ADD, resourceBatchAddRequest, ResourceBatchAddResult.class);
	}
	/**
	 * 修改区域
	 */
	public ResourceRegionUpdateResult regionUpdate(ResourceRegionUpdateRequest resourceRegionUpdateRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.REGION_UPDATE, resourceRegionUpdateRequest, ResourceRegionUpdateResult.class);
	}
	/**
	 * 批量开卡
	 */
	public ResourceCardBindingsResult cardBindings(ResourceCardBindingsRequest resourceCardBindingsRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.CARD_BINDINGS, resourceCardBindingsRequest, ResourceCardBindingsResult.class);
	}
	/**
	 * 卡片退卡
	 */
	public ResourceCardDeletionResult cardDeletion(ResourceCardDeletionRequest resourceCardDeletionRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.CARD_DELETION, resourceCardDeletionRequest, ResourceCardDeletionResult.class);
	}
	/**
	 * 批量挂失
	 */
	public ResourceCardBatchLossResult cardBatchLoss(ResourceCardBatchLossRequest resourceCardBatchLossRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.CARD_BATCH_LOSS, resourceCardBatchLossRequest, ResourceCardBatchLossResult.class);
	}
	/**
	 * 批量解挂
	 */
	public ResourceCardBatchUnLossResult cardBatchUnLoss(ResourceCardBatchUnLossRequest resourceCardBatchUnLossRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.CARD_BATCH_UNLOSS, resourceCardBatchUnLossRequest, ResourceCardBatchUnLossResult.class);
	}
	/**
	 * 生成卡片二维码
	 */
	public ResourceCardBarcodeResult cardBarcode(ResourceCardBarcodeRequest resourceCardBarcodeRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.CARD_BARCODE, resourceCardBarcodeRequest, ResourceCardBarcodeResult.class);
	}
	/**
	 * 获取卡片列表
	 */
	public ResourceCardCardlistResult cardCardList(ResourceCardCardlistRequest resourceCardCardlistRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.CARD_CARDLIST, resourceCardCardlistRequest, ResourceCardCardlistResult.class);
	}
	/**
	 * 获取单个卡片信息
	 */
	public ResourceCardCardInfoResult cardCardInfo(ResourceCardCardInfoRequest resourceCardCardInfoRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.CARD_CARDINFO, resourceCardCardInfoRequest, ResourceCardCardInfoResult.class);
	}
	/**
	 * 查询卡片列表
	 */
	public ResourceCardAdvanceCardlistResult cardAdvanceCardlist(ResourceCardAdvanceCardlistRequest resourceCardAdvanceCardlistRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.CARD_ADVANCE_CARDLIST, resourceCardAdvanceCardlistRequest, ResourceCardAdvanceCardlistResult.class);
	}
	/**
	 * 增量获取卡片数据
	 */
	public ResourceCardTimerangeResult cardTimerange(ResourceCardTimerangeRequest resourceCardTimerangeRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.CARD_TIMERANGE, resourceCardTimerangeRequest, ResourceCardTimerangeResult.class);
	}
	/**
	 * 修改组织
	 */
	public ResourceOrgUpdateResult orgUpdate(ResourceOrgUpdateRequest resourceOrgUpdateRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.ORG_UPDATE, resourceOrgUpdateRequest, ResourceOrgUpdateResult.class);
	}
	/**
	 * 批量删除组织
	 */
	public ResourceOrgDeleteResult orgDelete(ResourceOrgDeleteRequest resourceOrgDeleteRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.ORG_DELETE, resourceOrgDeleteRequest, ResourceOrgDeleteResult.class);
	}
	/**
	 * 批量添加组织
	 */
	public ResourceOrgAddResult orgAdd(ResourceOrgAddRequest resourceOrgAddRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.ORG_ADD, resourceOrgAddRequest, ResourceOrgAddResult.class);
	}
	/**
	 * 获取根组织
	 */
	public ResourceGetRootorgResult getRootorg() throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.GET_ROOTORG, null, ResourceGetRootorgResult.class);
	}
	/**
	 * 获取组织列表
	 */
	public ResourceGetOrglistResult getOrglist(ResourceGetOrglistRequest resourceGetOrglistRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.GET_ORGLIST, resourceGetOrglistRequest, ResourceGetOrglistResult.class);
	}
	/**
	 * 查询组织列表v2
	 */
	public ResourceAdvanceOrglistResult advanceOrglist(ResourceAdvanceOrglistRequest resourceAdvanceOrglistRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.GET_ORGLIST, resourceAdvanceOrglistRequest, ResourceAdvanceOrglistResult.class);
	}
	/**
	 * 根据父组织编号获取下级组织列表
	 */
	public ResourceParentorgIndexcodeSuborglistResult parentorgIndexcodeSuborglist(ResourceParentorgIndexcodeSuborglistRequest resourceAdvanceOrglistRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.PARENTORG_INDEXCODE_SUBORGLIST, resourceAdvanceOrglistRequest, ResourceParentorgIndexcodeSuborglistResult.class);
	}
	/**
	 * 增量获取组织数据
	 */
	public ResourceOrgTimerangeResult orgTimerange(ResourceOrgTimerangeRequest resourceOrgTimerangeRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.ORG_TIMERANGE, resourceOrgTimerangeRequest, ResourceOrgTimerangeResult.class);
	}
	/**
	 * 根据组织编号获取组织详细信息
	 */
	public ResourceOrgindexCodesOrginfoResult orgindexCodesOrginfo(ResourceOrgindexCodesOrginfoRequest resourceOrgindexCodesOrginfoRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.ORGINDEXCODES_ORGINFO, resourceOrgindexCodesOrginfoRequest, ResourceOrgindexCodesOrginfoResult.class);
	}
	/**
	 * 获取资源属性
	 */
	public ResourcePropertiesResult resourceProperties(ResourcePropertiesRequest resourcePropertiesRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.RESOURCE_PROPERTIES, resourcePropertiesRequest, ResourcePropertiesResult.class);
	}
	/**
	 * 添加人员v2
	 */
	public ResourcePersonAddResult personAdd(ResourcePersonAddRequest resourcePersonAddRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.PERSON_ADD, resourcePersonAddRequest, ResourcePersonAddResult.class);
	}
	/**
	 * 批量添加人员
	 */
	public ResourcePersonBatchAddResult personBatchAdd(ResourcePersonBatchAddRequest resourcePersonBatchAddRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.PERSON_BATCH_ADD, resourcePersonBatchAddRequest, ResourcePersonBatchAddResult.class);
	}
	/**
	 * 修改人员
	 */
	public ResourcePersonSingleUpdateResult personSingleUpdate(ResourcePersonSingleUpdateRequest resourcePersonSingleUpdateRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.PERSON_SINGLE_UPDATE, resourcePersonSingleUpdateRequest, ResourcePersonSingleUpdateResult.class);
	}
	/**
	 * 批量删除人员
	 */
	public ResourcePersonBatchDeleteResult personBatchDelete(ResourcePersonBatchDeleteRequest resourcePersonBatchDeleteRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.PERSON_BATCH_DELETE, resourcePersonBatchDeleteRequest, ResourcePersonBatchDeleteResult.class);
	}
	/**
	 * 添加人脸
	 */
	public ResourceFaceSingleAddResult faceSingleAdd(ResourceFaceSingleAddRequest resourceFaceSingleAddRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.FACE_SINGLE_ADD, resourceFaceSingleAddRequest, ResourceFaceSingleAddResult.class);
	}
	/**
	 * 修改人脸
	 */
	public ResourceFaceSingleUpdateResult faceSingleUpdate(ResourceFaceSingleUpdateRequest resourceFaceSingleUpdateRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.FACE_SINGLE_UPDATE, resourceFaceSingleUpdateRequest, ResourceFaceSingleUpdateResult.class);
	}
	/**
	 * 修改人脸
	 */
	public ResourceFaceSingleDeleteResult faceSingleDelete(ResourceFaceSingleDeleteRequest resourceFaceSingleDeleteRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.FACE_SINGLE_DELETE, resourceFaceSingleDeleteRequest, ResourceFaceSingleDeleteResult.class);
	}
	/**
	 * 获取组织下人员列表v2
	 */
	public ResourcePersonlistResult personOrgindexcodePersonlist(ResourcePersonlistRequest resourcePersonlistRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.PERSON_ORGINDEXCODE_PERSONLIST, resourcePersonlistRequest, ResourcePersonlistResult.class);
	}
	/**
	 * 获取人员列表v2
	 */
	public ResourcePersonPersonlistResult personPersonlist(ResourcePersonPersonlistRequest resourcePersonlistRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.PERSON_PERSONLIST, resourcePersonlistRequest, ResourcePersonPersonlistResult.class);
	}
	/**
	 * 查询人员列表v2
	 */
	public ResourcePersonAdvancePersonlistResult personAdvancePersonlist(ResourcePersonAdvancePersonlistRequest resourcePersonlistRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.PERSON_ADVANCE_PERSONLIST, resourcePersonlistRequest, ResourcePersonAdvancePersonlistResult.class);
	}
	/**
	 * 根据人员唯一字段获取人员详细信息
	 */
	public ResourcePersonConditionPersoninfoResult personConditionPersoninfo(ResourcePersonConditionPersoninfoRequest resourcePersonConditionPersoninfoRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.PERSON_CONDITION_PERSONINFO, resourcePersonConditionPersoninfoRequest, ResourcePersonConditionPersoninfoResult.class);
	}
	/**
	 * 增量获取人员数据
	 */
	public ResourcePersonPersonlistTimerangeResult personPersonlistTimerange(ResourcePersonPersonlistTimerangeRequest resourcePersonConditionPersoninfoRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.PERSON_PERSONLIST_TIMERANGE, resourcePersonConditionPersoninfoRequest, ResourcePersonPersonlistTimerangeResult.class);
	}
	/**
	 * 提取人员图片
	 */
	public ResourcePersonPictureResult personPicture(ResourcePersonPictureRequest resourcePersonConditionPersoninfoRequest) throws Exception {
		return hikUtil.doPostImg(HikResourceRegionUrl.PERSON_PICTURE, resourcePersonConditionPersoninfoRequest,new ResourcePersonPictureResult());
	}
	/**
	 * 查询资源列表v2
	 */
	public ResourceResourcesbyparamsResult resourceResourcesbyparams(ResourceResourcesbyparamsRequest resourcePersonConditionPersoninfoRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.RESOURCE_RESOURCESBYPARAMS, resourcePersonConditionPersoninfoRequest, ResourceResourcesbyparamsResult.class);
	}
	/**
	 * 根据区域获取下级资源列表v2
	 */
	public ResourceResourceSubresourcesResult resourceSubresources(ResourceResourceSubresourcesRequest resourcePersonConditionPersoninfoRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.RESOURCE_SUBRESOURCES, resourcePersonConditionPersoninfoRequest, ResourceResourceSubresourcesResult.class);
	}
	/**
	 * 获取资源列表v2
	 */
	public ResourceDeviceresourceResourcesResult deviceresourceResources(ResourceDeviceresourceResourcesRequest resourcePersonConditionPersoninfoRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.DEVICERESOURCE_RESOURCES, resourcePersonConditionPersoninfoRequest, ResourceDeviceresourceResourcesResult.class);
	}
	/**
	 * 增量获取资源数据
	 */
	public ResourceResourceTimerangeResult resourceTimerange(ResourceResourceTimerangeRequest resourcePersonConditionPersoninfoRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.RESOURCE_TIMERANGE, resourcePersonConditionPersoninfoRequest, ResourceResourceTimerangeResult.class);
	}
	/**
	 * 根据编号查询资源详细信息
	 */
	public ResourceIndexcodesSearchResult indexcodesSearch(ResourceIndexcodesSearchRequest resourcePersonConditionPersoninfoRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.INDEXCODES_SEARCH, resourcePersonConditionPersoninfoRequest, ResourceIndexcodesSearchResult.class);
	}
	/**
	 * 获取资源的历史在线记录接口
	 */
	public ResourceOnlineHistoryStatusResult onlineHistoryStatus(ResourceOnlineHistoryStatusRequest resourcePersonConditionPersoninfoRequest) throws Exception {
		return hikUtil.doPost(HikResourceRegionUrl.ONLINE_HISTORY_STATUS, resourcePersonConditionPersoninfoRequest, ResourceOnlineHistoryStatusResult.class);
	}

}
